//
//  CircleView.h
//  MEAPLite
//
//  Created by 刘鵬 on 14-9-23.
//
//

#import <UIKit/UIKit.h>

@class JFScrumModel;
@class TeamOperatingView;

typedef NS_ENUM(NSInteger, TeamOperatingViewReturn) {
    TeamOperatingViewTop = 0,
    TeamOperatingViewDisableAlert,
    TeamOperatingViewLeave,
};

typedef void(^TeamOperateBlock)(TeamOperatingViewReturn returnType, TeamOperatingView *view);
typedef void(^TeamOperateRemoveBlock)(TeamOperatingView *view);

@interface TeamOperatingView : UIView

Strong UIView        *bgView;
Strong UIImageView   *bgImageView;

Strong UIButton      *topBtn;
Strong UIButton      *disableBtn;
Strong UIButton      *leaveBtn;

Strong UIImageView   *dotTopImageView;
Strong UIImageView   *dotDisableImageView;
Strong UIImageView   *dotLeaveImageView;

Strong UILabel       *topLab;
Strong UILabel       *disableLab;
Strong UILabel       *leaveLab;

Strong UIImageView   *dotDefaultImageView;

Copy TeamOperateBlock retBlock;
Copy TeamOperateRemoveBlock removeBlock;

Strong JFScrumModel *tmpImGroupObject;

- (id)initWithFrame:(CGRect)frame ReturnBlock:(TeamOperateBlock )retBlock ImGroup:(JFScrumModel *)imgroup;

- (void)show;

- (void)remove;

@end
